﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.components.computerdisplay {
    import reprise.ui.*;

    public class PageDisplay extends UIComponent {

        private var _pageIndex:int;
        private var _maxItems:int;
        private var _numberOfItems:int;// = 0

        public function PageDisplay(_arg1:int, _arg2:int){
            this._pageIndex = _arg1;
            this._maxItems = _arg2;
        }
        public function get pageIndex():int{
            return (this._pageIndex);
        }
        public function addItem(_arg1:UIComponent):void{
            addChild(_arg1);
            this._numberOfItems++;
        }
        override protected function initialize():void{
            addCSSClass("page");
            super.initialize();
        }
        public function isFull():Boolean{
            return ((this._numberOfItems == this._maxItems));
        }

    }
}//package net.wooga.pets.views.components.computerdisplay 
